package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品评论信息表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("shop_comment_all")
public class ShopCommentAll extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商品主键id
     */
    @TableField("shop_product_id")
    private Integer shopProductId;
    /**
     * 商品类型(1:普通 2:拼团)
     */
    private Integer type;
    /**
     * 店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 商品总评论数
     */
    @TableField("total_comment")
    private Integer totalComment;
    /**
     * 商品好评评论数
     */
    @TableField("good_comment")
    private Integer goodComment;
    /**
     * 商品中评评论数
     */
    @TableField("middle_comment")
    private Integer middleComment;
    /**
     * 商品差评评论数
     */
    @TableField("bad_comment")
    private Integer badComment;
    /**
     * 商品带图评论数
     */
    @TableField("image_comment")
    private Integer imageComment;
    /**
     * 商品追加评论数
     */
    @TableField("append_comment")
    private Integer appendComment;
    /**
     * 商品好评率
     */
    @TableField("good_rate")
    private Integer goodRate;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
